﻿@model KCMS.BusinessLogic.Models.MenuItem
@using (Html.BeginForm()){
    @Html.ValidationSummary(true)

    <legend>MenuItem</legend>
    <div class="editor-label">
        @Html.LabelFor(model => model.Title)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Title)
        @Html.ValidationMessageFor(model => model.Title)
    </div>


    <div class="editor-label">
        @Html.LabelFor(model => model.ContentId)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ContentId)
        @Html.ValidationMessageFor(model => model.ContentId)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.ContentCode)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ContentCode)
        @Html.ValidationMessageFor(model => model.ContentCode)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.ContentIndex)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ContentIndex)
        @Html.ValidationMessageFor(model => model.ContentIndex)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.ParentId)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ParentId)
        @Html.ValidationMessageFor(model => model.ParentId)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Controller)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Controller)
        @Html.ValidationMessageFor(model => model.Controller)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Action)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Action)
        @Html.ValidationMessageFor(model => model.Action)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Area)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Area)
        @Html.ValidationMessageFor(model => model.Area)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.HtmlClass)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.HtmlClass)
        @Html.ValidationMessageFor(model => model.HtmlClass)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.HtmlId)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.HtmlId)
        @Html.ValidationMessageFor(model => model.HtmlId)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.IndexNumber)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.IndexNumber)
        @Html.ValidationMessageFor(model => model.IndexNumber)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Published)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Published)
        @Html.ValidationMessageFor(model => model.Published)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.ContentCategory)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ContentCategory)
        @Html.ValidationMessageFor(model => model.ContentCategory)
    </div>
    @Html.HiddenFor(model => model.Id)
}
